package eip.util;

import org.mule.MuleServer;

public class ESBStarter {
	
        private static MuleServer server;
        public static void main(String[] args) {
        	
            //System.getProperties().put( "proxySet", "true" );
            //System.getProperties().put( "proxyHost", "www-proxy.nl.int.atosorigin.com" );
            //System.getProperties().put( "proxyPort", "8080" );

                server = new MuleServer(args[0]);
                server.start(false,false);

                // lets wait until we're killed.
                Object lock = new Object();
                synchronized (lock) {
                        try {
                                lock.wait();
                        } catch (InterruptedException e) {
                                e.printStackTrace();
                        }
                }
        }
}
